<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>订单表详情</title>
    <#include "/common/resource.ftl">
    <script type="text/javascript">
        $(function () {
            <#if (params.id)??>
                $.ajaxRequest({
                    url: '${params.contextPath}/web/omsOrder/query.json',
                    data: {id: "${params.id}"},
                    success: function (data) {
                        if (!data.success) {
                            $.message(data.message);
                            return;
                        }
                        var record = data.data;
                        for (var key in record) {
                            $("[field='" + key + "']").html(record[key]);
                        }
                    }
                });
            </#if>
        });
    </script>
</head>
<body>
<div class="ui-table-div">
    <table class="layui-table ui-table">
        <tr>
            <th>主键</th>
            <td field="id">--</td>
        </tr>
        <tr>
            <th>会员id</th>
            <td field="memberId">--</td>
        </tr>
        <tr>
            <th>优惠券id</th>
            <td field="couponId">--</td>
        </tr>
        <tr>
            <th>订单编号</th>
            <td field="orderSn">--</td>
        </tr>
        <tr>
            <th>用户帐号</th>
            <td field="memberUsername">--</td>
        </tr>
        <tr>
            <th>订单总金额</th>
            <td field="totalAmount">--</td>
        </tr>
        <tr>
            <th>应付金额（实际支付金额）</th>
            <td field="payAmount">--</td>
        </tr>
        <tr>
            <th>运费金额</th>
            <td field="freightAmount">--</td>
        </tr>
        <tr>
            <th>促销优化金额（促销价、满减、阶梯价）</th>
            <td field="promotionAmount">--</td>
        </tr>
        <tr>
            <th>积分抵扣金额</th>
            <td field="integrationAmount">--</td>
        </tr>
        <tr>
            <th>优惠券抵扣金额</th>
            <td field="couponAmount">--</td>
        </tr>
        <tr>
            <th>管理员后台调整订单使用的折扣金额</th>
            <td field="discountAmount">--</td>
        </tr>
        <tr>
            <th>支付方式：0->未支付；1->支付宝；2->微信</th>
            <td field="payType">--</td>
        </tr>
        <tr>
            <th>订单来源：0->PC订单；1->app订单</th>
            <td field="sourceType">--</td>
        </tr>
        <tr>
            <th>订单状态：0->待付款；1->待发货；2->已发货；3->已完成；4->已关闭；5->无效订单</th>
            <td field="status">--</td>
        </tr>
        <tr>
            <th>订单类型：0->正常订单；1->秒杀订单</th>
            <td field="orderType">--</td>
        </tr>
        <tr>
            <th>物流公司(配送方式)</th>
            <td field="deliveryCompany">--</td>
        </tr>
        <tr>
            <th>物流单号</th>
            <td field="deliverySn">--</td>
        </tr>
        <tr>
            <th>自动确认时间（天）</th>
            <td field="autoConfirmDay">--</td>
        </tr>
        <tr>
            <th>可以获得的积分</th>
            <td field="integration">--</td>
        </tr>
        <tr>
            <th>可以活动的成长值</th>
            <td field="growth">--</td>
        </tr>
        <tr>
            <th>发票类型：0->不开发票；1->电子发票；2->纸质发票</th>
            <td field="billType">--</td>
        </tr>
        <tr>
            <th>活动信息</th>
            <td field="promotionInfo">--</td>
        </tr>
        <tr>
            <th>发票抬头</th>
            <td field="billHeader">--</td>
        </tr>
        <tr>
            <th>发票内容</th>
            <td field="billContent">--</td>
        </tr>
        <tr>
            <th>收票人电话</th>
            <td field="billReceiverPhone">--</td>
        </tr>
        <tr>
            <th>收票人邮箱</th>
            <td field="billReceiverEmail">--</td>
        </tr>
        <tr>
            <th>收货人姓名</th>
            <td field="receiverName">--</td>
        </tr>
        <tr>
            <th>收货人电话</th>
            <td field="receiverPhone">--</td>
        </tr>
        <tr>
            <th>收货人邮编</th>
            <td field="receiverPostCode">--</td>
        </tr>
        <tr>
            <th>城市</th>
            <td field="receiverCity">--</td>
        </tr>
        <tr>
            <th>区</th>
            <td field="receiverRegion">--</td>
        </tr>
        <tr>
            <th>详细地址</th>
            <td field="receiverDetailAddress">--</td>
        </tr>
        <tr>
            <th>备注</th>
            <td field="note">--</td>
        </tr>
        <tr>
            <th>确认收货状态：0->未确认；1->已确认</th>
            <td field="confirmStatus">--</td>
        </tr>
        <tr>
            <th>下单时使用的积分</th>
            <td field="useIntegration">--</td>
        </tr>
        <tr>
            <th>支付时间</th>
            <td field="paymentTime">--</td>
        </tr>
        <tr>
            <th>发货时间</th>
            <td field="deliveryTime">--</td>
        </tr>
        <tr>
            <th>确认收货时间</th>
            <td field="receiveTime">--</td>
        </tr>
        <tr>
            <th>评价时间</th>
            <td field="commentTime">--</td>
        </tr>
        <tr>
            <th>是否删除(1是，2否)</th>
            <td field="isDel">--</td>
        </tr>
        <tr>
            <th>创建人id</th>
            <td field="createId">--</td>
        </tr>
        <tr>
            <th>创建时间</th>
            <td field="createTime">--</td>
        </tr>
        <tr>
            <th>修改人id</th>
            <td field="modifyId">--</td>
        </tr>
        <tr>
            <th>修改时间</th>
            <td field="modifyTime">--</td>
        </tr>
    </table>
</div>
</body>

</html>
